#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do
    echo "read from file: $line"
    for i in 1 2 3 4 5 
	do
		echo "$i"
		proxychains4 ./duck index "$i" "inurl:$line" --json -n 25| jq  '.[].url'|grep =|cut -d'"' -f2 >> out_duck.log
		echo "$line" >> tested.log
		sleep $((5))
	done
    
    
done < "$1"
